package com.iyoudoock.citymine.utils;

import java.util.ArrayList;

/**
 * Created by Kvin on 2017/5/15.
 */
public class TransformUtils {

    /**
     * array to list
     */
    public static ArrayList<String> generateList(String[] in) {
        if (in == null || in.length < 1) return null;
        ArrayList<String> out = new ArrayList<>();
        for (int i = 0; i < in.length; i++) {
            out.add(in[i]);
        }
        return out;
    }
}
